package civicinity.ist.psu.edu.events;

public class EventItem {
	private int mID;
	private String mTitle;
	private String mDescription;
	private long mStartDate;
	private long mEndDate;
	
	private String mEventFeedUrl;
	private int mEventStatus;
	private boolean mEventActive;
	private boolean mEventHeader;
	
	// set methods
	public void setID(int id) {
		mID = id;
	}
	
	public void setTitle(String title) {
		mTitle = title;
	}
	
	public void setHeader(boolean header) {
		mEventHeader = header;
	}
	
	public void setEventFeedUrl(String eventUrl) {
		mEventFeedUrl = eventUrl;
	}
	
	public void setEventActive(int active) {
		if(active == 1) {
			mEventActive = true;
		}
		else {
			mEventActive = false;
		}
	}
	
	public void setEventStatus(int eventStatus) {
		mEventStatus = eventStatus;
	}
	
	public void setDescription(String description) {
		mDescription = description;
	}
	
	public void setStartDate(long date) {
		mStartDate = date;
	}
	
	public void setEndDate(long date) {
		mEndDate = date;
	}
	
	// get methods
	public int getID() {
		return mID;
	}
	
	public String getTitle() {
		return mTitle;
	}
	
	public String getDescription() {
		return mDescription;
	}
	
	public long getStartDate() {
		return mStartDate;
	}
	
	public long getEndDate() {
		return mEndDate;
	}
	
	public String getEventFeedUrl() {
		return mEventFeedUrl;
	}
	
	public boolean getIsEventActive() {
		return mEventActive;
	}
	
	public int getEventStatus() {
		return mEventStatus;
	}
	
	public boolean getHeader() {
		return mEventHeader;
	}
}
